{% extends "base_1.html" %}
{% load diario_entries %}

{% block head_title %}¿Que andamos haciendo?{% endblock %}

    {% block website_title %}
        <div id="website_title"> 
        <h1>Comunidad Paz, blog</h1>
        </div>
    {% endblock %}


{% block content %}

    {% block content-main %}
    {% endblock %}

    <hr />

    {% block content-related %}
    <div id="sidebar">
      <h1>Archivo</h1>  
      {% get_diario_month_list as archive %}
      {% if archive %}
        {% for month in archive %}
        <ul>
          <li><a href="{% url diario-archive-month month.year,month|date:"m" %}">{{ month|date:"F, Y" }}</a></li>
        </ul>
        {% endfor %}
      {% else %}
        <p>Archivo vacio. Ninguna nota publicada.</p>
      {% endif %} 
    </div>
    {% endblock %}

{% endblock%}
